Skip to content

fix: link to repo root instead of 404ing /stargazers page#8756

Open
katspaugh wants to merge 1 commit into
stablyai:mainfrom
katspaugh:fix/stargazers-404-link
Open

fix: link to repo root instead of 404ing /stargazers page#8756
katspaugh wants to merge 1 commit into
stablyai:mainfrom
katspaugh:fix/stargazers-404-link

Conversation

@katspaugh

Copy link
Copy Markdown

Summary

  • The "Star Orca on GitHub" web-fallback flow (Landing screen and General settings) linked to https://github.com/stablyai/orca/stargazers, which returns a 404 for anyone without write access to the repo.
  • Both links now point to the repo root (https://github.com/stablyai/orca), which works for everyone and still lets the user find and click the Star button themselves.

No visual change — same button/label/copy, only the destination URL differs.

Code review summary

  • Cross-platform: pure string/URL change, no platform-specific code paths touched.
  • SSH/remote: unaffected — this opens a URL in the user's default browser via window.api.shell.openUrl, unrelated to the SSH/remote git workflow.
  • Agent/integration/git-provider: not applicable, no integration logic touched.
  • Performance: none, no hot path involved.
  • Security: no new external input or injection surface; URL is a hardcoded constant.

Test plan

  • pnpm lint
  • pnpm typecheck
  • pnpm test (full suite: 29614 passed, 55 skipped; 4 pre-existing failures in config/scripts/publish-complete-draft-releases.test.mjs and config/scripts/release-rc-history.test.mjs are unrelated to this change — caused by a local tag.gpgsign=true git config making lightweight git tag calls fail in those scripts' test harness, not touching any file changed here)
  • pnpm build
  • Verified https://github.com/stablyai/orca/stargazers returns 404 and https://github.com/stablyai/orca returns 200

🤖 Generated with Claude Code

GitHub's stargazers page returns 404 for users without repo write
access, so the web-fallback star flow in the landing screen and
General settings sent most users to a broken link. Point both at the
repo root instead.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: f63c89e1-dce8-4a61-a8a0-a3844a18142f

📥 Commits

Reviewing files that changed from the base of the PR and between e0edc8e and 863b307.

📒 Files selected for processing (2)
  • src/renderer/src/components/Landing.tsx
  • src/renderer/src/components/settings/GeneralSupportSection.tsx

📝 Walkthrough

Walkthrough

Updated GitHub star web-fallback handling in the landing and general support components. Both flows now replace the /stargazers destination with the repository’s root GitHub URL when opening the link through the shell API.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately and concisely summarizes the main change: redirecting the GitHub star fallback from /stargazers to the repository root.
Description check ✅ Passed The description covers the summary, review considerations, and test plan with specific validation results; it is mostly complete despite missing separate screenshots, notes, and security sections.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants